fix img tags and update office