feature(public): fix firefox compatiblity