fix instantiation for layer@X.app