remove useless assertion