fixed typo in append