fixed bug where false value was never returned from scope