resolve merge conflicts of 6540c23 to master

Change-Id: I9557b4f7aae5bb64d256da26a290b326f39c9104