refine print output, fix bucket gen bugs, add initial sync check