Fix some bugs in finding the starting points in hybrid method