fix reject_dots (bb #431)
fix dead assignments in libsx (bb #431)