degree bug fix