Credit card validation fix