fix bug with home.view