fixed warnings detected by CI