fix employee counting bug