use k.title() when compared
Merge branch '3.0' of https://github.com/yejingx/goagent into 3.0