minor: fixed warnings