small bug fixed on EapHandler