fixed require issue for schema

fixed require issue for schema