fix pre-population of registration form course id