fix for opticharger to work right