fixed bug save contact offline error