Fix #297