fix validate scope