Fixed #1148.