fix bug: plotting std