fixed PA3test 5/6/7/15 by Yunhan