improve error message

Improved the error message to indicate that the direction is not clear.
This will be improved in the near future.