fix mkStr() bug: non-standard use of replace()