fix extranneous ifeq