corrected actionsHlper .validateActions