resolve merge conflicts of 50c5f04 to master

Change-Id: I2b1154e636258ccce6c4482415752444d2ac1326