Fixed credit check bug