bugfix on gpuscan