fixed course editing vulnerabilities