fix course display and adding/removing bug.