fix scope of this