fixed issue with markdown attempting to render before content was ready