Fix reference to phases