bug fix custom reports