fixed design problem of statistics on bookmain
made statistics on loanmain working