improve asserts
assert fixed
total instances assert improved
Merge pull request #189 from rostafiychuk/asserts

improve asserts