Remove trim spaces after settings