added some more verbose error output