fixed not used warning