new views of flags and states, bootstrap does not work