quickfix for plotting