Fix Pages and Courses controllers