static home page, switch not working