fixed several issues with the delete command