Remove unused variable to clean the code