fixed bug where action condition was only used if used with trigger