fix some bootstrap3 incompatibilities