get rid of warning about unused variable