fixing lifetime