Made mesh work ok