Fix bug of starting up