fixes exception. Doesn't like the ?? for some reason