fix duplicate settings

Change-Id: Ie3ce3564b15425aaca537b4bcfc26d61a5cb8bce