fix bug and for expor pic to excel