error checked on add grade