fixing some report bugs