fixed typo in enum Direction