test warnings fix