fix resource links