Fixes directions bug.