fixed curve issue