Fixed crash when QM not requested