fixed bootstrap 3 compatibility issues