Resolved errors in purchases and charges controllers