change ui and modify debug