fix terrible startup time