fix home re-routing bug