Dist sync

close #317