fixed schema validation and some ui changes