Fixing plot issue on linux