fix installer mode :(