bugfix for saving reports