Fix append history