fix trend model