trying to merge
fixed curve closing