$$phase error solved