fixed getBids method