bug on curved geometry