fixing home_controller missing end