fix compatibility issues with qtjs updates