forgot the endif

Change-Id: Iae497be485f30809f197566355673ed577ab73d7