Deal with weird cases.