opatch custom type