clean up smarthome, when GUODIAN is false, make sure some variable is null