Fix #1182