fixed some minor errors for badformed xlsx files

fixed some minor errors for badformed xlsx files