fixes bad check for course