Not sure if there is a better way to do this but it should work... Also confused why the error doesn't show up in the project. Fixes #22