Bug fixes in creating major and course