fixed plot to pass check