fixed 3rd swapcase function