add bootstrap offset to ctr_row and some bug fix