fix cutoff issue