removed unnecessary code from /charges view