small scope fix