Bootstrap 3 compatibility fix