remove useless assert