closed #1005