fix an issue with the assert message