fix waring/error