change operation order for local sanitizer