fix extras check

Change-Id: Ia0540560211685ceed3be9b9f47f7be6014eddc0