fixed small bug. change action to returns