removing last dot