resolve merge conflicts of 9fa8987 to master

Change-Id: I41e488cb0a1472233ccf9e6c26095f26920671ca