fixed a simple directional error