Fixed letter swapping bug