Fix direction.  Respect mode flag