prevent incomplete work from being deleted