Delete Functionality Fix