[SQUASH ME] added missin endif