debug the text course format