hacks to init