fix save checking function when without serial number and security code