fix purebred check