[bug fix] fix crash problem while booting server

as title. please remember to npm publish