Fix line count on firefox