Fix padding when entry not in library
Merge pull request #232 from btf064/bug-fixes

Fix padding when entry not in library