fix valid fragment for tablets