fix first charge bug