fixed bug with reloading home page that caused it to be blank