fixing resource links