salary: fix attend calc issue;