fix: I somehow duplicated a whole block of code in the middle of another fn, missing return