bug with label class in formInput method