minor bug fixed for st. case