course list output fix