Clearing intermediate results hangs

thanx, indeed an easy fix. now I know where to look for the bug :^)