fix issue about initd script