Fix compilation problem.
Fix delay of actions.