Fixxed some bugs but performance when init too many times still bad