remove extra (endif) and derp

Change-Id: Ia92525f7db1b30b48f20cba51a4614a57fe1c426