resolve merge conflicts of 6574d9c to master

Change-Id: I9b97396a03f80507d71a52d281f88f686712b129