Fix append callback