fixed issue with slice dependency