fixing slice