fixed issue with profile curve