clean the warning in compiling