rm debug info & add input promote