fixed a bug where -pnpres was getting appended twice to channel name.