append/appendAll fixing