fix avgPrice