Memory problems fixing & remove warn_order.