Dump code for schema is not correct