remove unnecessary code and files of dust