fix duplicate wallet record warning