duplicate code fix

Change-Id: I9192a8ae13ef6a663d62ae63bb2f8cffb380b9c3