incorrect warning fix in linear test