remove unnecessary dots