Fix bug: replace append with extend.