fix origQF scope