silly mistake missed an endif

Change-Id: Ida30acc62b78a2060e3db474efdcf3fc2376c788