hope I fixed decryption bug