1310081942

fix some bug , when  rs.td == 0 or rs.td<0