fixed stupid order of operations problem, i am dumb