security model compilation fix