rescue from type problem