fixed formatting for plotting with and without beds