rect minnor fiixes