fixes provider bugs for names with spaces