correction json syntax and loader bugfix