Bugfixes/#512 transform recognizer

@uzadow