Fixed an Agent template route problem