Fixing unused variable