fix scope validator