use more more elegant way to check and replace SAFE_EXECUTE_VERBOSE