removed useless assert