Fix direction issue