remove a couple stupid flex rules to improve performance on firefox