remove dot in function