fixed formatting for historyfragment