fix bin structure