update HomeController & fix @gradymcd's problem