compatibility with thor/platform