closed #1306
#1281