fixing tbms data entry form