fix the lesson attachements display bug