fix leading zeros for counter in overlay