inspection export to xls and some little fix