Delete unwanted spaces on save