fix spatial ref