Fixes link direction