Fix #1185