bugfix in course axis script