fix report file problem