remove legacy comments when inputs were not local