Fixed nwa_detensor