debug output
fix redirecting to created course