fixing the markdown table parsing