fix error about qloadlen