fix the markdown helper