make it work without #ifdef UNIPACKAGE