refactor : remove unused variable