Fixed bug in worksheet download