Fixed faclity bug in data entry form