fix js bug delete staff redirect