Fix programming error made because I'm tired