Fix #1160