fix append issue