fix error leaveforstaff
Merge pull request #235 from irshad89/master

fix error leaveforstaff