fixed warnings!