Fixed #992.