fix curve