fix bug in employee search