fixed collateral bug