Do not call ctx.name() multiple times