fixed getBinTypes operation