solve warning