correct getBins return