fixed an empty line check, and some SA work

along with Debs