small fix to bins