fixed main page and selected class