qt5 compat fix, crash fix