fix default output, fix append api