resolve merge conflicts of 996e80f to master

Change-Id: I717e5abd94ac57ca94152b90a31e8a2066654f6b