bug fix in schema.xml
uodated sql added