another bug fix because that's what CS students do