improvements on phase tracker