Fixed the main firefox issue

Fixed the main firefox issue