fix course material editing