only compare suffix of output to target string