silly mistake, omitting an endif (re issue #13)