fixing hang on FF3