fixing "past" bug failed