fixed a pretty substantial oops