fix output arg issue. now, eval-app-safe-res remaining.