leading pho macro bug fixed