Fixed excel writing