fix courses bug; template changes