Remove unused variable that likely causes crashes