fixed small bug on activateAction