Dear Volker, Thanks for the answer and for trying to reproduce it. I found the problem: somehow a declare(f, nonscalar) got in, which I overlooked. So as soon as an f is in the denominator, expansion is blocked. Best regards, Michael