changes to be compatible with bootstrap 3