deletable functionality works after new addition