closed #1014
closed #1015
closed #1253