fixes at GradesActivity and Const