catch thumbnail errors