Fixed a bug of plot in server version