* adjust getPreAndNext function.
 * adjust getByID function.