add avgOriginXP macro. replace thousands delimiter