fix bug in slc