add omni comp pattern for haXe