closed #1006