fix scope validate