remove bin and generate folder