fixed mesh and plotting