Fixing phase issue