fixed StanfordAgigaPipe-specific issues