fix the speech factory