Fix offline charging