removed bug during creation of new course