remove duplicate code

Change-Id: I4cf1167448f8f6b4a28c0f1ad1b0f4cc4240df74