Fix #1301