fix department score bug