fix the bug of fail to insert the persist passwd