fixed resourceHelper pointer