fix resource refs