Fixed canafford error