fix: pattern match string of function declaration has been fixed.