fix remove dots exception