Revert "fix course info api"

This reverts commit ca2bcc818aeb79a7163b3dedd9c80148a3a96b2c.