fix up incorrect bash replace on delimiter