fix broken resource