fixed warnings(unused library and variable)