Missing edges in object mode but edges are there in edit mode, how to fix?

My mesh looks okay in edit mode but when I switch to object mode some edges does not show. Why? And how can I fix?

Well I somehow managed to fix it I think. I generated an UV and then saw there was an extra face I was not aware of previously. I deleted it and now it looks good.