fixed User schema check