fixed report view and csv view