Fixed the assert call