fix white spaces handling: doesn't play well with onChange