Fixes to delete and added reset