added exception to find a dev error