Make sure you've connected a page in WP Admin -> settings -> BuddyPress -> Pages -> course and this page " SHOULD NOT " have slug as course.