fix bug with vigenere cipher