fixes direction