view selector fix