Fixes an issue related to an unused variable