fixes for the Course model & assocs