fix activity displaying