cleanup some code. fix bug in scale for stepseq.