remove ending dots in package completion