fix bin stuff