json problem fixed, undo workaround