fix remove unused variable