update license
fix minor bugs when parsing final attribute of an object