fixed corrupting xlsx issue