Refactore tools
"Fix bug on ctx.status."