Fix #985