bugfix with multiple html export