delte the defer part and only work with hybrid optimization