fixed JavaDepartment vs Department inconsistencies