Remove dot from the end