remove dot which is not a valid statement