fixed home/index bugs