fix get timeline
adapt for api 1.1