dist sync document too. fixed #420