fix lifetimes