minor fix to plotAll