fix duplicated period