Fix course redirect problem