fix win32 plot issue