make the schema valid, fix .autoload