trim instead of removing all whitespaces