fixing reinmann rectangles