fix reverse list in tools/plotting