fix course bugs