this fix is sloppy as f, but i'm going to bed.. gotta fix later.