use old exception catching, so we still run on centos 5