implicit scope fix