Fix dependencies within resources