further fixes for bin problem