Fixed #1413.