course href generation fix