fix double validateType bug; update README