same exception keeps happening inspite of this fix. Will keep researching