remove warning about unused variable