workaround for recursionlimit due to qtreactor