bug fix for employee edit, hasfocus hack