some fixes for the directed links