changed some code so that users will not have null grades