Fixed NPE with ready block, when creating a new course.