Fixed a compatibility issue with bootstrap