fix scope issue w/ defaults