lifetime fix from @novalis111