grating position fix