fix catch method