fixed string type check