Fixed #2899

Fixed #2899