updated bootstrap and layout
fixed template bug