fix error on install

I will have to look at why this does not throw install errors in master branch. Fix for now.