rewrite to meet bootstrap3