Fixed up resource dependency