fix bug about Deletion of Salary