concurrency bug fixed in MAP
logic bug fixed avg() ofavg() is bad