static object lifetime fix