bug fix for markdown import