add excel export,fix some bug