Bugfix and report metadata errors