improve assert messages