fixed issue with viewer and ff