n-layers to orden
fixed error in paquete