Here is a message from erik:
This morning we had a bug introduced which swapped the colors of the players after the game ended. We have reverted this bug and will fix all records and ratings. This should be completed by end of today. We are very sorry for any worry this may have caused you. If you see any remaining issues after today, please contact support and let us know. We will get it fixed immediately!
https://support.chess.com/customer/portal/emails/new
Dalek - MOD
yes @bcurtis you are right it only places the wrong player at wrong positions but no affect of ratings! though it ruins the archives!