cleaned database file and fix excel export errors