delete space in document