fix catch in rc4.cpp