Reverse TRI_FRAME and change config