isolated phi creation bug