assertion error fix