change current to avoid division by zero