fix initial avg error calc