Correcting ResourceGetter method