fix proj4 code - refs #1866