remove unused variable
address compiler warnings
delete unsued variable