Fixed stupid mistake in plotting images