Fixed exception if DO_API_VERSION is not set