fix mdx properties handling