Fixed resource ref generation