bug in schema