add cast and check in deep.schema + remove bad start path in errorsMap