minor fixes with delayedexpr