fixed small bug on Forms controller