fixed error with ( curve ) expr