fixed small bug on results