remove white spaces on save