fix missing field for embedded doc