clear prices array initially