Remove unused variable as it's seen as errors by compiler