Fixed errors in actions