closed #665