fixed inst_lyse so resources are produced properly