catch mergecap error