Added casting to interface slice instead of using a string slice