removed error line that was originally an assert