fixed employee directory crashing