fix in retreiving timelines