fix no import if no action is defined