records not being maintained properly