fix for deleting staff