Fix error on home load