Empty sid filtered out. close #208

Removed some old code