correcting data entry to be equal in all functions