use the own search method to parse boundary