Fixed small bug
Merge pull request #5 from zaporylie/bug/wrong-direction

Fixed small bug