finish reverse string