spatial correction