Fix #1314