Fixed #1104.