fix and add home_controller and delete sqlite file