fixing bug in account view template