fix #294 for boostrap 3.0