fix course key issue