fix excel 2007 - 2013 compatibility bug