close command update, reffers to #16