Why have empty string replacing empty string?