Fix #1155.