Fixes links and images