sync sdk loading and plugin init