resolve merge conflicts of d254ce4 to master

Change-Id: Ia8dff82cb7648b568006d10bc99e2dd40a2d6e8e