added some more error output