fix build error for PA