Fixed bug Apple encountered.