Fixes resource links