filter and trimming working - concat error with output