try to fix fit sigmoid