adapting to bootstrap 3