corrected an attribute and lowered a forgotten upper case
Added type attribute for non-package tables