Fix string reversal