delete useless and binary