fixed conditional syntax derp, you'd think i'd learn not to do it all at once