EMA small bug change