fixed bug with action