renamed grammar but did not rename ref to it