fix getBins