fix validate object