Fixed syntax error on course model.