Fixed errors on forms