fixed bug that caused bootstrap stylesheet to not work in some cases