fixed issue #1 is not compatible with the Firefox browser