correcting broken assertions

as discussed in the issue #36, here's the fix for that thing

fixes #36