fixed error in flex form