ugly workaround for emirge