Do not panic if qm is nil