corrected some errors in nuodb