cleanup warnings in utils