fix custom order type function names