Fix multiplying in the wrong place