Remove case sensitivity bug with channel for 'replace'