deep network fixes