Fixed s0 bug