current monitor bugfix