#82 fix that syntax type is always reset on saving even manually changed