Fixed bad sequence of actions!