Fix #994