error checking for rating if left empty