fixed compatibility with bootstrap