fix for deletion