fixing phase names