replace comma from end