fixed plot4