fixed charge bug hopefully