avoid warnings under 5.18