enabled saving charges info
enabled debug info
fixed db issue