empty spaces deleted in snippets