fix firefox warnings
1.0.4