resolve merge conflicts of 595eacc to master

Change-Id: Id10f6695fc01c32af804ca79571ac1bf04157b61