adding dbname to plot: #MSG-179 fixed