fixed qrc not being global