small fix to give detailed exception info
fixed db model in docu