added support of smooth curve setting