Fix embarrassing scope issue