replaced colon with semi-colon after endif