added better error handling to category#make_pair