fixing flash messages due to bootstrap 3 vs 2 incompatibility