fix for multiple phases with the same name
minor analysis updates