added name validation. Fix views