Use filter for cleaning up strings