Fix multiple plotting error