fix reverd mode