removed bugs in deleting records