fixed issue in slice build