fixed error in switching to slicerender