remove unused Vec for bin code