fix scope issue;