catch resolve problems