pr compilation error fix issue 1950