Fix #770