fix the cutoff issue