fixes warnings