issue #131: grade conversion fixes