Fixes compiler errors (i'm an idiot)