resolve merge conflicts of 1d7ee6b to master

Change-Id: I2ed0f2c3233151e890bd8bde825d306ec8f0d8fd