fixed minor issues with editing datasets