fix #1 for half grades