Fixes scope