closed #596