fix warns