Fix creating 2d nets