merge Harsh's fix for delete deployment