Fix syntax errors from ui_link conversion