Fix phase problem