remove bin and gen document.