fix resources injections