Fixed the problem where init doesn’t run