fixed details directions bug