fixed next entry / day bug