Fixed double bug