fix dragon curve