fix slice append