fix sharding upstart issue