small fix for binPack