Unused variable fix