close #47 & #50 data append function