fix bug on the index of manage course module