fix get employee id when init index