Bug in schema fixed