fix bug of login save error