Fix issue for user course and course library.