fixed bug in actions