fixed add grade - ignoring the space issue