added visible warning if there are no grades