fixed pgea bug