worker: polish code related to HR;