fixing format issue
fixing avgPt