Fixed bug in multiplot