fixed a few scaling issues