code cleanup (basketball and soccer pages)