fixed library iteration

Fixes #14
Fixed E2 table inputs not working